package com.han.gift.dto;

import com.han.gift.entity.Employee;
import com.han.gift.entity.Tenant;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author:Han
 * @Date :2023/2/26 18:01
 * @Description:
 */
@Data
public class TenantDto {

    @Valid
    private Employee employee;

    @Valid
    private Tenant tenant;

    @NotNull(message = "套餐类型不能为空!")
    private Long mealId;

    @NotBlank(message = "确认密码不能为空!")
    private String comfirmPwd;


}
